<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<%@include file="/WEB-INF/jsp/public/commons.jspf"%>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/css/base.css" />
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/css/board.css" />
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/css/tiezi.css" />

</head>
<body>
<div class="container">
<ol class="breadcrumb">
  <li><a href="home_outerCentre.action">首页</a></li>
  <li><a href="forum_prelist.action">论坛</a></li>
  <li class="active">${name}</li>
</ol>
</div>
<!--论坛 内容区块Top-->
<div class="frame7 C1000 mt10">
	<div class="type-banner" ><img src="${pageContext.request.contextPath }/images/typeB.jpg" /></div>
	<div class="type-user clearfix">
	       <img style="height: 150px;width:160px;" class="img-rounded user-pic" src="${pageContext.request.contextPath }${photo }" />
		   <div class="user-text">
		   		
			    <div class="user-box clearfix">
					<span class="user-tit">${name }</span>
				</div>
				<div class="fans"><span>主帖：<i>${topicCount }</i></span><em>|</em><span>回帖：<i>${articleCount }</i></span></div>
			</div>
	</div>
</div>

<!--论坛 主题内容-->
<div class="frame7 C1000 clearfix mt10 mod1">
			<div class="subfx" style="margin: 10px 0 0 20px;">
				<input type="button" id="topostsubmit" class="fbbtn ico" />
			</div>
					
			<div class="wrap2">
					<s:iterator value="recordList">
						<div class="mod3">
							<p class="fea-tit">
							  <s:if test="type==3">
						      	<em class="zd1 ztop"></em>
						      </s:if>
						      <s:if test="type==2">
						      	<em class="jh1 ztop"></em>
						      </s:if>
						      <a href="${pageContext.request.contextPath }/topic_tiezi.action?id=${id}">${title }</a>
						      <s:if test="type==2">
						        <i class="tag rbg">火</i>
						      </s:if>						
						    </p>
							<p class="fea-cru">
								<span class="comment pspan fr"><i class="ico"></i>${replyCount }</span>
								<!-- <span class="browse pspan fr"><i class="ico"></i></span> -->
								<a href="${pageContext.request.contextPath }/personal_center.action?id=${author.id}" class="fea-por fl">
								    <img width="30" height="30" src="${pageContext.request.contextPath }${author.photo }" />
								</a>
								<a href="${pageContext.request.contextPath }/personal_center.action?id=${author.id}" class="fea-name">${author.name }</a><em>|</em>
								<span class="fea-time">${lastUpdateTime }</span>
								<%-- <a target="_blank" href="" class="fea-name">${lastReply.content }</a> --%>
							</p>
						</div>
					</s:iterator>
					
			</div>
		<%--分页信息 --%>
		<%@include file="/WEB-INF/jsp/public/pageView.jspf"%>
		<form id="pageCondition" action="topic_list.action"></form>
		<script type="text/javascript">
		    function gotoPage( pageNum ){
		    	 $("#pageCondition").append("<input type='hidden' name='id' value='${id}'/>");
		        $("#pageCondition").append("<input type='hidden' name='pageNum' value='"+pageNum+"'/>");
		        $("#pageCondition").submit();
		    }
		</script>
					
		<!-- <div class="pagebox mt20"><span class="cur">1</span><a href="forum-2058-2.html" target="_self">2</a><a href="forum-2058-3.html" target="_self">3</a><a href="forum-2058-4.html" target="_self">4</a><a href="forum-2058-5.html" target="_self">5</a><a href="forum-2058-6.html" target="_self">6</a><a href="forum-2058-7.html" target="_self">7</a><a href="forum-2058-8.html" target="_self">8</a><a href="forum-2058-9.html" target="_self">9</a><a href="forum-2058-10.html" target="_self">10</a><a href="forum-2058-530.html">...530</a><a href="forum-2058-2.html" title="下一页">下一页&gt;</a></div> -->
	
</div>

<script type="text/javascript">
	$(function(){
		$("#topostsubmit").click(function(){
			window.location.href="${pageContext.request.contextPath }/topic_postUI.action?id=${id}";
		});
	});
</script>
</body>
</html>